x86: Fix ept and vt-d co-existence issue.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 16 Oct 2009 07:25:17 +0000 (08:25 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 16 Oct 2009 07:25:17 +0000 (08:25 +0100)
commitc5ff46d8d46a97bf0d491d226f5092f698ffff96
tree2bcda84505bf723ce24c297fc5faef8f682dc1ed
parent242a16c3d17d81eb84fe3505417f22140b27af50
x86: Fix ept and vt-d co-existence issue.

For vt-d's mmio address ranges, once ept enables, they should
be added to ept page tables with p2m lock held, and then guest can
access these ranges like conventional ram, but to change the ept
entries, it should take the p2m lock first.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
xen/arch/x86/mm/hap/p2m-ept.c
xen/arch/x86/mm/p2m.c